package com.hugesoft.logic.managers.busmanager;

import java.util.List;

import android.os.Handler;

import com.hugesoft.logic.module.Bus;

public interface IBusManagerInterface {
	public void addbusinfo(Bus bus,Handler handler);
	public void delbusinfo(String platenumber,Handler handler);//删除某车号的所有记录
	public void getbusinfo(String platenumber,Handler handler);
	
	public void getbusinfowithrecordid(Long id,Handler handler);
	public void delbusinfowithrecordid(Long id,Handler handler);
	public void modifybusinfowithrecordid(Long id,Handler handler);
	
	public List<Bus> loadbusinfo(String platenumber);
	public Bus loadbusinfo(Long busid);
	public List<Bus> loadallbus();
}
